package org.example.coffeeshoporderingsystem;

import javafx.fxml.FXMLLoader;
import javafx.scene.Scene;
import javafx.stage.Stage;
import org.example.coffeeshoporderingsystem.common.constants.UIViewType;

import java.io.IOException;

public class Application extends javafx.application.Application {
    @Override
    public void start(Stage stage) throws IOException {
        FXMLLoader fxmlLoader = new FXMLLoader(Application.class.getResource(UIViewType.WECLOME.getViewName()));
        Scene scene = new Scene(fxmlLoader.load());
        stage.setTitle("苦的一逼咖啡馆收银系统V1.0");
        stage.setScene(scene);
        stage.show();
    }

    public static void main(String[] args) {
        launch();
    }
}